/**
 * amis-core v2.4.0
 * Copyright 2018-2022 fex
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

/**
 * 解析 HTML Entity，比如 &#x2F; 转成 /
 * @param text 要解析的值
 */
var decodeEntity = function (text) {
    var textArea = document.createElement('textarea');
    textArea.innerHTML = text;
    return textArea.value;
};

exports.decodeEntity = decodeEntity;
